package com.cskaoyan.dao;

import com.cskaoyan.bean.pojo.AuthorPermission;
import com.cskaoyan.bean.pojo.AuthorPermissionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AuthorPermissionMapper {
    long countByExample(AuthorPermissionExample example);

    int deleteByExample(AuthorPermissionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AuthorPermission record);

    int insertSelective(AuthorPermission record);

    List<AuthorPermission> selectByExample(AuthorPermissionExample example);

    AuthorPermission selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AuthorPermission record, @Param("example") AuthorPermissionExample example);

    int updateByExample(@Param("record") AuthorPermission record, @Param("example") AuthorPermissionExample example);

    int updateByPrimaryKeySelective(AuthorPermission record);

    int updateByPrimaryKey(AuthorPermission record);
}